<?php
class Default_Model_DbTable_Spotdetail extends Zend_Db_Table_Abstract
{
	protected $_name="hae_bdd_spot";
	protected $_primary="id";
	protected $_sequence=true;
	public function getspotdetail($lang)
	{
		$select = $this->select();
		$select->from($this->_name,array('id','name_'.$lang.' AS name','image'));
		return $this->fetchAll($select);
	}
}